package com.jdrx.sw.sewage.dao;

import com.jdrx.sw.sewage.beans.entity.ForecastPvPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ForecastPvDAO {
    int insert(ForecastPvPO record);

    List<ForecastPvPO> selectAll();

    List<ForecastPvPO> selectByForecastIdAndType(@Param("forecastId") Long forecastId,
                                                 @Param("type") Integer type);

    Float selectVal(@Param("processunitV") String processunitV,
                    @Param("gatherDevPointV") String gatherDevPointV,
                    @Param("stationId") Long stationId);
}